import request from '@/utils/request.js'


const prefix = '/api/goods'

export function goodsList(params) {
	return request({
		url: prefix + '/list',
		method: 'get',
		params: params
	})
}

export function goodsInfo(id) {
	return request({
		url: prefix + '/info/' + id,
		method: 'get'
	})
}

